package com.example.design.pattern.behavior.chain;

public class ErrorLogger extends AbstractLogger {

    @Override
    protected int getLevel() {
        return AbstractLogger.ERROR;
    }
    
    @Override
    protected void doLog(String message) {
        System.out.println("error: " + message);
    }

}
